﻿.lr-im-wrap {
    position:absolute;
    z-index:10;
    bottom:5px;
    right:5px;
    height:100%;
}
.lr-im-user-list {
    position:absolute;
    bottom:0px;
    right:0px;
    width:230px;
    height:100%;
    max-height:520px;

    border: 1px solid #BEBEBE;
    color: #333;

    box-shadow: 0 0 10px rgba(0,0,0,.2);
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -khtml-user-select: none;
    user-select: none;

    background-color: #fff;

    padding-top:70px;

    font-size:14px;
}
.lr-im-header
{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height: 40px;
    line-height: 40px;
    padding-left: 15px;
    border-bottom: 1px solid #DCDCDC;
    color: #354052;
}
.lr-im-close {
    margin-top: 5px;
    float: right;
    padding-right: 8px;
}

.lr-im-close a {
    text-decoration: none;
    float: right;
    font-size: 25px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    filter: alpha(opacity=20);
    opacity: .2;
}

.lr-im-search {
    position: absolute;
    top:40px;
    left:0;
    width:100%;
    height: 30px;
    line-height: 30px;
    padding-right: 40px;
    border-bottom: 1px solid #DCDCDC;
    
}
.lr-im-search>input {
    width: 100%;
    height: 24px;
    line-height: 24px;
    border: none;
    padding-left:10px;
    background: transparent;
    font-family: Arial, 'Hiragino Sans GB', '微软雅黑', '黑体-简', Helvetica, sans-serif;
    font-size: 12px;
    -webkit-transition: box-shadow .30s ease-in-out;
    outline: 0;
}
.lr-im-search>i {
    position: absolute;
    right: 9px;
    top: 6px;
    color: #ccc;
    font-size: 16px;
    cursor: pointer;
}
.lr-im-body {
    position:relative;
    width:100%;
    height:100%;
    padding-top:38px;
}
.lr-im-body-nav {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    
    height: 38px;
    background-color: #F4F4F4;
    border-bottom: 1px solid #DBDBDB;
}
.lr-im-body-nav > ul {
    position:relative;
     height: 100%;
}
.lr-im-body-nav>ul>li {
    position:relative;
    float: left;
    width: 76px;
    height: 100%;
    border-right: 1px solid #DBDBDB;
    cursor: pointer;
}
.lr-im-body-nav > ul > li:last-child {
    border-right:0px;
}
.lr-im-body-nav> ul > li> a {
    display: block;
    position: relative;
    text-align: center;
    height:100%;
}
.lr-im-body-nav> ul > li> a>i
{
    width: 23px;
    height: 23px;
    font-size: 23px;
    color: #ccc;
    line-height: 37px;
}
.lr-im-body-nav> ul > li.active {
    height: 38px;
    background-color: #fff;
}
.lr-im-body-nav> ul > li.active i {
    color: #3498DB;
}

.learun_im_body_user {
    position:absolute;
    width:100%;
    height:100%;
    padding-top:38px;
    
}

.lr-userlist-content {
    position:relative;
    width:100%;
    height:100%;
}




.lr-im-body-list {
    position:relative;
    width:100%;
    height:100%;
    font-size: 14px;
}

.lr-im-chatlist > li {
    position:relative;
    width: 100%;
    height: 40px;
    line-height: 40px;
    padding-left:55px;
    cursor: pointer;
    
}
.lr-im-chatlist>li>.headimg {
    display:block;
    position:absolute;
    left:15px;
    top:5px;
    width: 30px;
    height: 30px;
    line-height:30px;
    border-radius: 50px;
    font-size:12px;
    text-align:center;
}


.lr-im-chatlist .lr-im-onename > span {
    display:none;
}

.lr-im-chatlist li:hover {
    background-color: #FDEBA8;
}
.lr-im-chatlist li:hover .lr-im-onename > span {
    display:initial;
}


.lr-top-department {
    position:absolute;
    top:0;
    left:0;
    height:38px;
    width:100%;
    padding:5px;
}



/*聊天窗口*/
.lr-im-window {
    position:absolute;
    bottom: 0;
    right: 240px;
    width: 600px;
    height: 100%;
    max-height:520px;
    border: 1px solid #BEBEBE;
    background: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,.2);
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;

    padding:40px 0 150px 0;
}
/*聊天窗口内容*/
.lr-im-window-chat {
    position:relative;
    width:100%;
    height:330px;
    color:#676a6c;
}
.lr-im-window-content {
    padding: 15px; 
    height: auto;
    overflow: hidden;
}

.lr-im-window-content .author-name {
    margin-bottom: 3px;
    font-size: 11px;
}


.lr-im-window-content .left .chat-text{font-size: 12px;padding-right: 10px;vertical-align: top;line-height: 32px;}
.lr-im-window-content .left .chat-date{font-size: 12px;color: #999;vertical-align: top;line-height: 32px;}
.lr-im-window-content .right .chat-text{font-size: 12px;vertical-align: top;line-height: 32px;}
.lr-im-window-content .right .chat-date{font-size: 12px;color: #999;padding-right: 10px;vertical-align: top;line-height: 32px;}
.lr-im-window-content .left img{width: 30px;height: 30px;padding-right: 0;margin-right: 15px;border-radius:30px;}
.lr-im-window-content .right img{width: 30px;height: 30px;padding-right: 0;margin-left: 15px;border-radius:30px;}

.lr-im-window-content .chat-message{padding:8px 10px;margin-top:5px;border-radius:5px;font-size:11px;line-height:16px;max-width:80%;background:#f3f3f4;margin-bottom:10px}
.lr-im-window-content .left{text-align:left;clear:both}
.lr-im-window-content .left .chat-message{float:left;position: relative;background:#337ab7;color:#fff}
.lr-im-window-content .left .chat-message em{display: block;width: 0;height: 0;border-width: 0 5px 5px;border-style: solid;border-color: transparent transparent #337ab7;position: absolute;top: -4px;left: 20px;margin-left: -10px;}
.lr-im-window-content .right{text-align:right;clear:both}
.lr-im-window-content .right .chat-message{float:right;position: relative;}
.lr-im-window-content .right .chat-message em{display: block;width: 0;height: 0;border-width: 0 5px 5px;border-style: solid;border-color: transparent transparent #f3f3f4;position: absolute;top: -5px;right: 10px;margin-left: -10px;}





.lr-im-window-header {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    line-height: 40px;
    height: 40px;
    padding-left: 15px;
    border-bottom: 1px solid #DCDCDC;
    color: #fff;
    background: #2c3849;
    border-radius:4px 4px 0 0;
}
.lr-im-window-header .close {
    margin-top: 5px;
    float: right;
    padding-right: 8px;
}
.lr-im-window-header .close a {
    text-decoration: none;
    font-size: 25px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-shadow: 0 1px 0 #fff;
}

.lr-im-window-send {
    position:absolute;
    bottom:0;
    left:0;
    height:120px;
    width:100%;
    padding: 5px;
}
.lr-im-window-tool {
    position:absolute;
    bottom:120px;
    width:100%;
    height: 30px;
    line-height: 30px;
    background-color: #F4F4F4;
    padding-left: 10px;
}
/*.lr-im-window-tool>a> i {
    line-height: 30px;
    font-size: 22px;
    color: #666;
    font-weight: 500;
    cursor:pointer;
}
.lr-im-window-tool > a > span {
    margin-left:5px;
    line-height:30px;
}*/

.lr-im-window-tool-chatlogbtn {
    float: right;
    padding-right: 10px;
    cursor:pointer;
}
.lr-im-window-tool-chatlogbtn i {
    position: relative;
    top: 1px;
    font-size: 16px;
    color: #999;
    font-weight: 700;
    width:16px;
}

.lr-im-window-tool-face {

}
.lr-im-window-send textarea
{
    overflow: hidden;
    height: 110px;
    width: 100%;
    border: 0px solid #DCDCDC;
    resize: none;
    font-family: Arial, 'Hiragino Sans GB', '微软雅黑', '黑体-简', Helvetica, sans-serif;
    font-size: 12px;
    -webkit-transition: box-shadow .30s ease-in-out;
    border: none;
    outline: 0;
}